var presetFx_morph=new Class({
	Extends:EPreset,
	prova:'ok',
	status:null,
	
	initialize:function(){
		
		if(this.status!=null){
			
			$('presetGUI').contentWindow.logic.initialize(this.status);
		}
	},
	
	getCode:function(){
		
		return this.generatedCode;
	},

	display:function(){
		
		this.parent('chrome://Chimera/content/class/preset/presets/Fx_Morph/gui.html');
	},
	
	getDuration:function(){
		if(this.status!=null){
			return this.status.dur;
		}
		else return 0;
	},
		
	close:function(){
		this.parent();
	},
	
	setStatus:function(p){
		this.status=p;
		
	}


});


